

#import "FAMMineTableTopViewCell.h"
@interface FAMMineTableTopViewCell()
@property (weak, nonatomic) IBOutlet UIView *FAMAboutUsView;
@property (weak, nonatomic) IBOutlet UIView *FAMPersonalDataView;

@end
@implementation FAMMineTableTopViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    UITapGestureRecognizer *aboutUsTap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(FAM_aboutUsTapClick:)];
    [self.FAMAboutUsView addGestureRecognizer:aboutUsTap];
    UITapGestureRecognizer *personalDataTap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(FAM_personalDataTapClick:)];
    [self.FAMPersonalDataView addGestureRecognizer:personalDataTap];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}
- (void)FAM_aboutUsTapClick:(UITapGestureRecognizer *)sender{
    [UIWindow.currentViewController.navigationController pushViewController:[FAMMineAboutUsViewController new] animated:YES];
}
- (void)FAM_personalDataTapClick:(UITapGestureRecognizer *)sender{
    [UIWindow.currentViewController.navigationController pushViewController:[FAMMinePersonalDataViewController new] animated:YES];
}
- (IBAction)FAM_aboutUsButtonClick:(UIButton *)sender {
    [UIWindow.currentViewController.navigationController pushViewController:[FAMMineAboutUsViewController new] animated:YES];
}
- (IBAction)FAM_personalDataButtonClick:(UIButton *)sender {
    [UIWindow.currentViewController.navigationController pushViewController:[FAMMinePersonalDataViewController new] animated:YES];
}

@end
